<!-- <input type="hidden" name="name" value="{$name}">
<div class="layui-form-item">
	<label class="layui-form-label">商品规格</label>
</div>
<volist name="$info.name" id="vo">
	<div class="layui-form-item">
		<label class="layui-form-label"></label>
		<div>
				{$vo.spec_name}：
				<volist name="$vo.attr" id="v">
					<input type="checkbox"  name="" class="check-btn" value="{$v.attr_id}" title="{$v.attr_name}" <php>if(in_array($v['attr_id'],$selected)){ echo 'checked'; } </php>>
				</volist>
		</div>
	</div>
</volist>

<div class="layui-form-item">
	<label class="layui-form-label"></label>
	<form class="layui-form" action="">
		<table class="layui-table" id="spec">
			<tr>
				<volist name="$info.name" id="vo">
					<th>{$vo.spec_name}</th>
				</volist>
				<th>销售价格</th>
				<th>商品库存</th>
				<th>库存预警值</th>
				<th>上传图片</th>
				<th>操作</th>
			</tr>
			<volist name="configs" id="vo">
				<tr name="{$vo['attr']}">
					<volist name="vo['attr_name']" id="v">
						<td>{$v}</td>
					</volist>
					<td><input type="text" name="{$name}[price][]" placeholder="" autocomplete="off" class="layui-input" value="{$vo.price}"></td>
					<td><input type="text" name="{$name}[num][]" placeholder="" autocomplete="off" class="layui-input" value="{$vo.num}"></td>
					<td><input type="text" name="{$name}[limit][]" placeholder="" autocomplete="off" class="layui-input" value="{$vo.limit}"></td>
					<td><input type="text" name="{$name}[img][]" placeholder="" autocomplete="off" class="layui-input" value="{$vo.img}"></td>
					<td></td>
				</tr>
			</volist>
		</table>
	</form>
</div> -->

